import {
  setToken,
  getToken
} from '@/libs/util'

export default {
  state: {
    categoryList:[],
    propertyArr:[],//选中的分类
    vuexArticleBasicObj: {
      title:''
    },

    vuexArticleDetail: {
      at_image:{
        url:''
      },
      content:'',

    },
    vuexArticleSeo: {
      view_count: ''
    }
  },
  mutations: {
    setVuxproperty(state,arr){
      state.property=arr
      state.categoryList=arr
    },
    setVuxPropertyArr(state,arr){
      state.propertyArr=arr
     state.categoryList=arr
    },
    setVuexArticleBasicObj (state, obj) {
      state.vuexArticleBasicObj = obj
    },
    setVuexArticleDetail (state, str) {
      state.vuexArticleDetail = str
     
    },
    setVuexArticleSeo (state, str) {
      state.vuexArticleSeo = str
    }

  },
  getters: {

  },
  actions: {

  }
}
